set(TOOLS_JSONSCHEMATOC11_PATH "${TOOLS_PATH}/jsonschematoc11")

set(TOOLS_JSONSCHEMATOC11_ROOT_FILE_LIST
    ${TOOLS_JSONSCHEMATOC11_PATH}/__init__.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/__main__.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/jsonschematoc11.py
    )

set(TOOLS_JSONSCHEMATOC11_C11TYPES_FILE_LIST
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/__init__.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11type.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typearray.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typebool.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typeinteger.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typemap.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typenone.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typenumber.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typestring.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11typestruct.py
    ${TOOLS_JSONSCHEMATOC11_PATH}/c11types/c11variable.py
    )

source_group("script" FILES ${TOOLS_JSONSCHEMATOC11_ROOT_FILE_LIST})
source_group("script\\c11types" FILES ${TOOLS_JSONSCHEMATOC11_C11TYPES_FILE_LIST})

add_custom_target(jsonschematoc11 SOURCES ${TOOLS_JSONSCHEMATOC11_ROOT_FILE_LIST} ${TOOLS_JSONSCHEMATOC11_C11TYPES_FILE_LIST})
set_property(TARGET jsonschematoc11 PROPERTY FOLDER tools)
